import com.beust.jcommander.JCommander;
import com.beust.jcommander.Parameter;

/**
 * @Author blackcat
 * @create 2021/8/14 21:43
 * @version: 1.0
 * @description:
 */
public class Main {

    @Parameter(names={"--length", "-l"})
    int length;
    @Parameter(names={"--pattern", "-p"})
    int pattern;

    public static void main(String ... argv) {
        Main main = new Main();
        JCommander.newBuilder()
                .addObject(main)
                .build()
                .parse(argv);
        main.run();
    }

    public void run() {
        System.out.printf("%d %d", length, pattern);
        System.out.println();
    }

}
